<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			
			var s1 = "sdbcEaSCDEfg";
			function a1(s1){
				var s2 = s1.toLowerCase();
				s3 = s2.replace(s2[0],s1.charAt(0).toUpperCase());
				document.write("转化后的数组为："+s3);
			}
			a1(s1);
		</script>
		
	</body>
</html>
